package com.fengze.business.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fengze.common.annotation.Excel;
import com.fengze.common.core.domain.BaseEntity;

/**
 * 询价记录对象 fz_inquiry_record
 * 
 * @author lug
 * @date 2024-02-01
 */
public class InquiryRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目早期信息id */
    @Excel(name = "项目早期信息id")
    private Long earlyStageProjectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 状态0无效1有效 */
    @Excel(name = "状态0无效1有效")
    private Integer status;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long userId;

    /** 创建部门id */
    @Excel(name = "创建部门id")
    private Long deptId;

    /** 咨询数量 */
    @Excel(name = "咨询数量")
    private Integer inquiryNumber;

    /** 供应商联系人 */
    @Excel(name = "供应商联系人")
    private String supplierContacts;

    /** 供应商联系电话 */
    @Excel(name = "供应商联系电话")
    private String supplierContactsPhone;

    /** 供应上id */
    @Excel(name = "供应上id")
    private Long supplierId;

    /** 总额 */
    @Excel(name = "总额")
    private BigDecimal totalMoney;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String fileUrl;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    // 设备清单字符穿
    private String manifest;

    public String getManifest() {
        return manifest;
    }

    private List<InquiryManifest> manifestList;

    public List<InquiryManifest> getManifestList() {
        return manifestList;
    }

    public void setManifestList(List<InquiryManifest> manifestList) {
        this.manifestList = manifestList;
    }

    public void setManifest(String manifest) {
        this.manifest = manifest;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEarlyStageProjectId(Long earlyStageProjectId) 
    {
        this.earlyStageProjectId = earlyStageProjectId;
    }

    public Long getEarlyStageProjectId() 
    {
        return earlyStageProjectId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setInquiryNumber(Integer inquiryNumber) 
    {
        this.inquiryNumber = inquiryNumber;
    }

    public Integer getInquiryNumber() 
    {
        return inquiryNumber;
    }
    public void setSupplierContacts(String supplierContacts) 
    {
        this.supplierContacts = supplierContacts;
    }

    public String getSupplierContacts() 
    {
        return supplierContacts;
    }
    public void setSupplierContactsPhone(String supplierContactsPhone) 
    {
        this.supplierContactsPhone = supplierContactsPhone;
    }

    public String getSupplierContactsPhone() 
    {
        return supplierContactsPhone;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setTotalMoney(BigDecimal totalMoney) 
    {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getTotalMoney() 
    {
        return totalMoney;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("earlyStageProjectId", getEarlyStageProjectId())
            .append("projectName", getProjectName())
            .append("code", getCode())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("inquiryNumber", getInquiryNumber())
            .append("supplierContacts", getSupplierContacts())
            .append("supplierContactsPhone", getSupplierContactsPhone())
            .append("supplierId", getSupplierId())
            .append("totalMoney", getTotalMoney())
            .append("fileUrl", getFileUrl())
            .append("supplierName", getSupplierName())
            .toString();
    }
}
